
package session.stateless;

import entity.ConsolidatedMthSalesFc;
import entity.IndependentVariable;
import entity.SalesForecast;
import java.util.ArrayList;
import javax.ejb.Local;


@Local
public interface SalesForecastSessionBeanLocal {
    public void addSalesForecast (Integer salesMonth, Integer salesYear, String salesRepId, String productCode,
             Integer quantity, String remark, String status, Boolean valid);

    
    public void updateSalesForecastStatus(Integer salesYear, Integer salesMonth, String status, Boolean valid);
     public void updateSalesForecastStatus(Integer salesYear, Integer salesMonth,String code, String status, Boolean valid);
  
    public void removeSalesForecast (Long id);
    public void addSalesForecasts (ArrayList <SalesForecast> salesForecasts, String currentYear, String code);
    public ArrayList<IndependentVariable> getIndependentVariables(String filepath);
    public ArrayList <ConsolidatedMthSalesFc> getConsolidatedMontlySalesForecast (Integer forecastYear);
      public ArrayList <SalesForecast>  getSalesForecasts (String status);
     public ArrayList <SalesForecast> getSalesForecasts (Integer salesYear, String code);
    //public ArrayList <SalesForecast> getAdjustedSalesForecasts (Integer salesYear, Integer salesMonth, String status);
    
  
 
    
    
}
